package com.example.schoolexam2.mapper;

import com.example.schoolexam2.entity.Employee;
import com.example.schoolexam2.entity.Student;
import com.example.schoolexam2.vo.StudentVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {
    @Select("select * from student where student_Id= #{studentID}")
    Student studentSql(String studentID);
    @Select("select * from Employee where employee_id=#{employeeId}")
    Employee employeeSql(String employeeId);
}
